package paritclecontainer3d;

import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.scene.Geometry;
import com.jme3.scene.shape.Box;

public class Main extends com.jme3.app.SimpleApplication{

	
	public static void main(String[] args){
		Main app = new Main();
		app.start();
	}

	
	@Override
	public void simpleInitApp() {
		
		
		Box b = new Box(1,1,1);
		Geometry geom = new Geometry("Box", b);
		
        Material mat = new Material(assetManager,
                "Common/MatDefs/Misc/Unshaded.j3md");  // create a simple material
        
	      mat.setColor("Color", ColorRGBA.Blue);   // set color of material to blue
	      geom.setMaterial(mat);                   // set the cube's material
	      rootNode.attachChild(geom); 
	}
	
}
